import {getters} from './getters'
import {actions} from './actions'
import {mutations} from './mutations'
const state = {
  title: 'ESSearch', // App 标题
  movieList: [],
  // 用户列表
  userList: [],
  favouriteList: [],
  historyList: [],
  user: Object,
  imovie: Object,
  tid: '-1',
  isc: false,
  tmid: '-1',
  cpage: 1,
  listCount: 1,
  searchText: '', // 搜索内容
  loadingMoving: true, // 正在上映是否显示loading
  loadingUpComing: true, // 即将上映是否显示loading
  searchLoading: true, // 搜索列表是否显示loading
  currentPage: 1,
  mid: -1 // 电影ID
}
export default {
  state,
  getters,
  actions,
  mutations
}
